import { get, post, deletes, put } from '@/utils/request' // service

// window.g.ApiUrl: 'http://121.36.213.28:8080/',

export const login = p => post(window.g.ApiUrl + 'login', p) // 登录
export const getRouter = p => get(window.g.ApiUrl + 'getRouters/' + p.plat_type) // 获取路由
export const getInfo = p => get(window.g.ApiUrl + 'getInfo', p) // 获取用户信息
export const logout = p => post(window.g.ApiUrl + 'logout', p) // 退出
export const GetUserList = () => post(window.g.ApiUrl + 'system/user/list') // 获取用户列表集合_无分页
